home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_201 / draco / drinc / libraries / configregs.g < prev    next >
Text File  |  1992-05-06  |  2KB  |  100 lines

  1. type
  2. „ExpansionRom_t=struct{
  3. ˆushorter_Type;
  4. ˆushorter_Product;
  5. ˆushorter_Flags;
  6. ˆushorter_Reserved03;
  7. ˆuinter_Manufacturer;
  8. ˆulonger_SerialNumber;
  9. ˆuinter_InitDiagVec;
  10. ˆushorter_Reserved0c,er_Reserved0d,er_Reserved0e,er_Reserved0f;
  11. „},
  12.  
  13. „ExpansionControl_t=struct{
  14. ˆushortec_Interrupt;
  15. ˆushortec_Reserved11;
  16. ˆushortec_BaseAddress;
  17. ˆushortec_ShutUp;
  18. ˆushortec_Reserved14,ec_Reserved15,ec_Reserved16,ec_Reserved17,
  19. ec_Reserved18,ec_Reserved19,ec_Reserved1a,ec_Reserved1b,
  20. ec_Reserved1c,ec_Reserved1d,ec_Reserved1e,ec_Reserved1f;
  21. „};
  22.  
  23. ulong
  24. „E_SLOTSIZEŠ=0x10000,
  25. „E_SLOTMASKŠ=0xffff,
  26. „E_SLOTSHIFT‰=16,
  27.  
  28. „E_EXPANSIONBASE…=0xe80000,
  29. „E_EXPANSIONSIZE…=0x080000,
  30. „E_EXPANSIONSLOTS„=8,
  31.  
  32. „E_MEMORYBASEˆ=0x200000,
  33. „E_MEMORYSIZEˆ=0x800000,
  34. „E_MEMORYSLOTS‡=128;
  35.  
  36. ushort
  37. „ERT_TYPEMASKˆ=0xc0,
  38. „ERT_TYPEBIT‰=6,
  39. „ERT_TYPESIZEˆ=2,
  40. „ERT_NEWBOARDˆ=0xc0,
  41.  
  42. „ERT_MEMMASK‰=0x07,
  43. „ERT_MEMBITŠ=0,
  44. „ERT_MEMSIZE‰=3,
  45.  
  46. „ERTB_CHAINEDCONFIG‚=3,
  47. „ERTB_DIAGVALID†=4,
  48. „ERTB_MEMLISTˆ=5,
  49.  
  50. „ERTF_CHAINEDCONFIG‚=1<<ERTB_CHAINEDCONFIG,
  51. „ERTF_DIAGVALID†=1<<ERTB_DIAGVALID,
  52. „ERTF_MEMLISTˆ=1<<ERTB_MEMLIST,
  53.  
  54. „ERFB_MEMSPACE‡=7,
  55. „ERFB_NOSHUTUP‡=6,
  56.  
  57. „ERFF_MEMSPACE‡=1<<ERFB_MEMSPACE,
  58. „ERFF_NOSHUTUP‡=1<<ERFB_NOSHUTUP,
  59.  
  60. „ECIB_INTENA‰=1,
  61. „ECIB_RESETŠ=3,
  62. „ECIB_INT2PEND‡=4,
  63. „ECIB_INT6PEND‡=5,
  64. „ECIB_INT7PEND‡=6,
  65. „ECIB_INTERRUPTINGƒ=7,
  66.  
  67. „ECIF_INTENA‰=1<<ECIB_INTENA,
  68. „ECIF_RESETŠ=1<<ECIB_RESET,
  69. „ECIF_INT2PEND‡=1<<ECIB_INT2PEND,
  70. „ECIF_INT6PEND‡=1<<ECIB_INT6PEND,
  71. „ECIF_INT7PEND‡=1<<ECIB_INT7PEND,
  72. „ECIF_INTERRUPTINGƒ=1<<ECIB_INTERRUPTING;
  73.  
  74. type
  75. „DiagArea_t=struct{
  76. ˆushortda_Config;
  77. ˆushortda_Flags;
  78. ˆuintda_Size;
  79. ˆuintda_DiagPoint;
  80. ˆuintda_BootPoint;
  81. ˆuintda_Name;
  82. ˆuintda_Reserved01,da_Reserved02;
  83. „};
  84.  
  85. ushort
  86. „DAC_BUSWIDTHˆ=0xC0,
  87. „DAC_NIBBLEWIDE†=0x00,
  88. „DAC_BYTEWIDEˆ=0x40,
  89. „DAC_WORDWIDEˆ=0x80,
  90.  
  91. „DAC_BOOTTIMEˆ=0x30,
  92. „DAC_NEVER‹=0x00,
  93. „DAC_CONFIGTIME†=0x10,
  94. „DAC_BINDTIMEˆ=0x20;
  95.  
  96. extern
  97. „EC_MEMADDR(ushortslot)ulong,
  98. „ERT_MEMNEEDED(ushortt)ulong,
  99. „ERT_SLOTSNEEDED(ushortt)ushort;
  100.